SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'beb3e527b3894042e3e124cad1c6c5b098be080340ea1c9e545a2aa8dd0395f1' 
  AND token = 'xsLdAjAmIfL7rltreASJy3nIujOYP16HKYvOVY7oYok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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