SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1781b4b89d0ba7574cfc7fa2bffbe65f5aaef0b2a8285be6d3a790493e5ae93' 
  AND token = '4JO2r1cKDsE0OM/bnfpAB4Zcj7UpPV0sMFfJg3b9p8I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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