SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd58f46046c753a412ae233fc32b61753662e8bf559cb89f398ea3d0266b2298a' 
  AND token = 'NJQ17IfsxbNRErHB5Qphng+d9cON5/4l1PaeQ7TJp9s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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