SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff77737116080496abe13008050e86bdfa95d0fd4585c7f26f5144a2d4d0e94f' 
  AND token = 'EvvTk1i17o0k7G6Ac/EspSI+fka17hcAbIxMWaYp/qw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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