SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31666e2fe02e7593fc5f06e457bf9df65ed77ba76c08873907886746529e2b35' 
  AND token = 'ehOrUqxccPu9gB7X8nIQGBFRc3RwllXVazE6tU0sfX0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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