SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc7f80e23ba846d162bede8b6861af4dc0f3d9f2dad3d9d0edb0f84fe4d78881' 
  AND token = 'xbsR3EbmRpYjsZ89M4FskTodtHWSatU2l54BVDG7V5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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