SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '333dd4bdd62c27dcbd435b6b7b374aa40698d20d64bec9edff13f0461ac32190' 
  AND token = 'WrRR/CsU/ImyM988oIsztnf7ve338SZvG8ZuMaPTemE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}