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

Query time 0.00031

JSON explain

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