SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '974cc343386f4e2c55117735f2087f224b6691d65bf75dfa749421e681f44d89' 
  AND token = '45wC56wIcipe8UviCCG0KnRQ654Rat/TeVa3ZgOYksA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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