SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ccc1bf6212a62a2693dfd34fb334c8dec59015facfb1637d4f7606fb8dcd6eb' 
  AND token = 'oHkwPEiEcHhyPb8tmBCVfTTNJ3fwL8iE9Dg0EnTe6Cs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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