SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45917023df7f12cf83861404df7f077415b9eab638effbf9d53294fb8ebd9022' 
  AND token = '8dYjunfgMBRkKLd3227JqUAuSNeMyvhTrb+X1ofNbIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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