SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '97ae9c06cba1c45d39f55de8c778e6b462b32362b7531717b1da51f1f7dfd8a7' 
  AND token = 'NzE/7ZxLOv0h/x5ogb0J2cDbNd+2etbc4vszgE9J6ag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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