SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20da487f1283f6ec82210218b748727675708a83178f14d01bd658ffb154fe26' 
  AND token = 'Q37xoS/K3BjzqAc+gPxb2tZLhyUaj0qTADZqu910Ib4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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