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

Query time 0.00030

JSON explain

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