SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '345ba652f18d0bd4fe1694bac0430942cb2a540e2712194493ee2eb36264c03b' 
  AND token = 'jrt1Elypf6unY+N8VHhTx0RH9QGQy9828y7NDdmKbFs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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