SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9624ffb1a1d94e38bc2d80fc48a7ad7aa3cd9ec777b6f469ded26635d4473e09' 
  AND token = 'D6bzGz/blTsFdJ9a44ddiJ03mIIYlRRCvMLJS/Cp+4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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