SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3f217f59293a538aace2d5e31108a1451d3c57d3c0c3708a02c65415c31ad0e' 
  AND token = '5so9+EF0tLIfKC9/aDjdjZFKTlhZRuajz5xMTXmmv7g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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