SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a797a1d0584436c8bc6b01d1e254f63bf0a9513f160c565c3681e865b3a3f2b3' 
  AND token = 'D5pZd9IOLp+6/7gu3DCI/awlsdDvk9og/+ZPdGZQtRs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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