SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a78ce78ea554e319aa774a81dcd381691e17529988c63419870d6e747ca2cb3b' 
  AND token = 'cQGJ5rS648EsOjRjI+8z1X6w7nTUL7/o53FwZtaK9CY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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