SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1394be1b89c24714f7d321d2f48447e20ac984f38d60d8955ff8058af550a14c' 
  AND token = 'JnU0dCdmLBIA5qORCr60dFzrsyyT44+y+mMtw4PUfvc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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