SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6a4770f5c400db1e998e258087ce9cf2136d39d1f19b07c1993429a55241efd' 
  AND token = 'bTg/zOgYyOYk2Q1u95fVcOH0SssncsCIHV5dNkAON4g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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