SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '993d27e799821331732aac1a5a4e23b437c11f444192b040ab3adb2c2c63e5f0' 
  AND token = '7hJBcdwiiR7U7L85f1CpyyumWYxJaWBtKrTn2MgvFYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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