SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9997c2a19b3bea6560e439610f9f059527654b1008665041a4b2d2a7a76b0251' 
  AND token = 'IRoCsZuxWW7Pu39P9sDafzDe+Qe6CGGHTH7JXkaBteE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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