SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f7d25cc9461a570684297209961e42b9264b250cfba97e4e7c3e84f3e8cbafe' 
  AND token = 'c5y40Lg2GEuJwSGln8qcEV9igRZoBjRKTElfzjkcs6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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