SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef79a0077d9a6fe7953fa2c57ceed7467e3434d38f58d6af7f0675cedccb1340' 
  AND token = 'NXqnkZbY1J6vdY1dokyMMvDOuUuEsvns7uW2+/GJYSQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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