SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0845c9c5c9732579592f5cdf5b08df670bc967f958a3a550536af977aa6cfaf0' 
  AND token = 'C0BPFZNKLB4PygVzGs/709YnmJf3hMsskMZpLz3q6Ss=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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