SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '400bd538d5646eb8342b73f7b4fc521de18d2ffd6f163c27e175d06751d2b052' 
  AND token = '1RJBZ+PF9f4UiILFI/NSIclstgCeF8Mt2zsF7pXdof8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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