SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17e559b16ce9ef0a18f918192e9cff562cb91af8901e74c8e86191bab39aa3bc' 
  AND token = 'YAmUZO3culdznEPjBcTWF8a19l7DkijWVRURyi6cqdk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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