SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fb3165961c7294f33ba6268ca0fdf15506e90d105465a1ccf4f7102d79788301' 
  AND token = '2fdRrArRtuwkrun/FiVJelO5/EN1xbvwfpUPsQxmlA0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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