SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4f1c1dd2d2bc1fb2e0ec400cff248350535dd1b857471297b21feaf865f4eff' 
  AND token = 'C8Twx5ouXWQa9vwL5KDBXaFFGxXsgGEA5kB71wgaa8E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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