SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b74342b4516a8274f4dae67ed06a9e802ae45404fa05f2d16ca81a77f450edab' 
  AND token = 'cw3by8H9o/X+DF5igR70cIeFOkzSUr/ZKYUHc41NsN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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