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

Query time 0.00027

JSON explain

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