SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0aa071ca0a9710af664049f918cff645bc32861493a8768e21e126c983a93957' 
  AND token = '8/ZFwyyOeKaamaBPacdi/SJDSx0yh7Rt2WC4sEwtdzQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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