SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8afd66e378f263dd3f240e653cb68989ed1fb0d62ca1ca62636dd20a3b916e91' 
  AND token = 'b6cHgy+SkBFKtNQVmgfSv2GO2Whxfa2Vp1Vu3aLP4y4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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